<!DOCTYPE html>
<html>

<head>
    <meta name="author" content="YeEeck" />
    <meta charset="utf-8">
    <meta name="generator" content="Visual Studio Code" />
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <style type="text/css">
        input {
            width: 3em;
            text-align: center;
        }
    </style>
    <script src="index.js"></script>
    <title>分数化简器</title>
</head>

<body style="text-align: center;">
    <h1>分数化简器</h1>
    <h4>注意：<br />对大于 <span style="color: red;">9007199254740991</span> 或小于 <span
            style="color: red;">-9007199254740991</span> 的数<br />计算时结果将不再可靠</h4>
    <input id="numA" type="text" oninput="changed('numA')" /> / <input id="numB" type="text"
        oninput="changed('numB')" />
    <br /><br />
    <button onclick="simp()" style="width: 6em;height: 2.5em;">化简</button>
    <br /><br />
    最简分数：<input id="res" type="text" style="width: 6em;" readonly="readonly" />
</body>

</html>